mod configure;
mod db;
mod logging;

use crate::configure::db::init_db;
use crate::configure::logging::init_logger;
pub use configure::CONF;

 pub async fn init() {
    init_logger().await.expect("Failed to initialize logger");
    init_db().expect("Failed to initialize database");
}
